<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://xmlns.jcp.org/jsf/core">
    <h:head>
        <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
        <title>SISTEMA DE DIGITAÇÃO DE NOTAS</title> 
        <link href="css/principal.css" rel="stylesheet" type="text/css" /> 
        <script type="text/javascript">
            PrimeFaces.locales['pt'] = {
                closeText: 'Fechar',
                prevText: 'Anterior',
                nextText: 'Próximo',
                currentText: 'Começo',
                monthNames: ['Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro'],
                monthNamesShort: ['Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Des'],
                dayNames: ['Domingo', 'Segunda', 'Terça', 'Quarta', 'Quinta', 'Sexta', 'Sábado'],
                dayNamesShort: ['Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sáb'],
                dayNamesMin: ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'],
                weekHeader: 'Semana',
                firstDay: 1,
                isRTL: false,
                showMonthAfterYear: false,
                yearSuffix: '',
                timeOnlyTitle: 'Só Horas',
                timeText: 'Tempo',
                hourText: 'Hora',
                minuteText: 'Minuto',
                secondText: 'Segundo',
                currentText: 'Data Atual',
                        ampm: false,
                month: 'Mês',
                week: 'Semana',
                day: 'Dia',
                allDayText: 'Todo Dia'
            };
        </script>

    </h:head>
    <h:body>

        <div id="background-topo-gradiente">
            <div id="background-topo-imagem"></div>
        </div>


        <div align="center">
            <div id="tp2"></div>    

            <p:layout  style="min-width:1020px;max-width:1020px;height:500px">  

                <p:layoutUnit id="central" position="center">  

                    <ui:insert name="centro">
                        <p:panel header="#{centroBean.professor.nomeProfessor}">

                            <p:panelGrid columns="4">
                                <h:outputText value="Turma"></h:outputText>
                                <h:selectOneMenu value="#{centroBean.turma}" >
                                    <f:selectItems value="#{centroBean.turmas}" />
                                    <f:converter converterId="conversor"/>
                                </h:selectOneMenu>
                                
                                
                            </p:panelGrid>

                        </p:panel>
                    </ui:insert>

                </p:layoutUnit>  

            </p:layout>  
            <div id="rod"></div> 

        </div>

    </h:body>
</html>
